package sample;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class Error extends Application {
    public void start(Stage primaryStage) throws  Exception{
        try{
            Parent root  = FXMLLoader.load(getClass().getResource("/fxml/error.fxml"));
            Scene sc;
            sc = new Scene(root,391,250);
            primaryStage.setScene(sc);
            primaryStage.setTitle("Error!!!");
            primaryStage.setResizable(false);
            primaryStage.show();
        }catch (Exception e){
            e.printStackTrace();
        }
    }

    public static void main(String[] args) {
        launch(args);
    }
}
